home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / HippoDraw / HippoDrawSrc1.1 / Hippo.subproj / Ruler.h < prev    next >
Encoding:
Text File  |  1992-04-25  |  351 b   |  23 lines

  1. #import <appkit/View.h>
  2.  
  3. @interface Ruler : View
  4. {
  5.     id font;
  6.     NXCoord descender;
  7.     NXCoord startX;
  8.     NXCoord lastlp, lasthp;
  9.     BOOL flipped;
  10.     BOOL notHidden;
  11. }
  12.  
  13. + (NXCoord)width;
  14.  
  15. - showPosition:(NXCoord)lp :(NXCoord)hp;
  16. - hidePosition;
  17.  
  18. - setFont:aFont;
  19. - setFlipped:(BOOL)flag;
  20. - drawSelf:(const NXRect *)rects :(int)rectCount;
  21.  
  22. @end
  23.